package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 一键上报对象 one_click_report
 * 
 * @author ruoyi
 * @date 2021-07-01
 */
public class OneClickReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long oId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long publicuserId;
    private String UserName;

    /** 经度 */
    @Excel(name = "经度")
    private String oLon;

    /** 纬度 */
    @Excel(name = "纬度")
    private String oLat;

    /** 地址 */
    @Excel(name = "地址")
    private String oAddress;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date oCreattime;

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    public void setoId(Long oId)
    {
        this.oId = oId;
    }

    public Long getoId() 
    {
        return oId;
    }
    public void setPublicuserId(Long publicuserId) 
    {
        this.publicuserId = publicuserId;
    }

    public Long getPublicuserId() 
    {
        return publicuserId;
    }
    public void setoLon(String oLon) 
    {
        this.oLon = oLon;
    }

    public String getoLon() 
    {
        return oLon;
    }
    public void setoLat(String oLat) 
    {
        this.oLat = oLat;
    }

    public String getoLat() 
    {
        return oLat;
    }
    public void setoAddress(String oAddress) 
    {
        this.oAddress = oAddress;
    }

    public String getoAddress() 
    {
        return oAddress;
    }
    public void setoCreattime(Date oCreattime) 
    {
        this.oCreattime = oCreattime;
    }

    public Date getoCreattime() 
    {
        return oCreattime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("oId", getoId())
            .append("publicuserId", getPublicuserId())
            .append("oLon", getoLon())
            .append("oLat", getoLat())
            .append("oAddress", getoAddress())
            .append("oCreattime", getoCreattime())
            .toString();
    }
}
